package com.z_talk.server.config;

import java.io.IOException;
import java.util.Properties;

public class PropertiesUtil {

    public static Properties configProp;

    static{
        configProp = new Properties();
        // 加载服务器配置文件
        try {
            configProp.load(Thread.currentThread()
                    .getContextClassLoader()
                    .getResourceAsStream("serverconfig.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }


}
